#ifndef CX_HAL_PWM_H
#define CX_HAL_PWM_H
#include "cx_hal_general.h"
typedef tmr_type* cx_hal_pwm_controller_t;
typedef struct cx_hal_pwm_handle
{
    cx_hal_pwm_controller_t controller;
    cx_uint8_t channel;
    cx_uint32_t clk_Hz;
}cx_hal_pwm_handle_t;

cx_err_t cx_hal_pwm_set_pulse(cx_hal_pwm_handle_t *handle, cx_uint16_t pulse);

#endif